<?php
$this->breadcrumbs=array(
	'Anggaran'=>'#',
	'SOutputs',
);

$this->menu=array(
	array('label'=>'List DSoutput','url'=>array('index')),
	array('label'=>'Create DSoutput','url'=>array('create')),
);

Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$.fn.yiiGridView.update('dsoutput-grid', {
		data: $(this).serialize()
	});
	return false;
});
");
?>

<?php $this->widget('bootstrap.widgets.BootGridView',array(
	'id'=>'dsoutput-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'THANG',
		array(
                        'name'=>'KDPROGRAM',
                        'value'=>'$data->program->NMPROGRAM',
                ),
                array(
                        'name'=>'KDSATKER',
                        'value'=>'$data->satker->NMSATKER',
                ),
                array(
                        'name'=>'KDDEPT',
                        'value'=>'$data->dept->NMDEPT',
                ),
                array(
                        'name'=>'KDGIAT',
                        'value'=>'$data->giat->NMGIAT',
                ),
                'KDOUTPUT',
                'KDSOUTPUT',
		'URSOUTPUT',
		/*
		'KDPROGRAM',
		'KDGIAT',
		'KDOUTPUT',
		'KDLOKASI',
		'KDKABKOTA',
		'KDDEKON',
		'KDSOUTPUT',
		'URSOUTPUT',
		'SBMKVOL',
		'SBMKSAT',
		'SBMKMIN1',
		'SBMKKET',
		'KDSB',
		'VOLSOUT',
		'KDIB',
		'_NullFlags',
		*/
		
	),
)); ?>
